package cc.lucien.repository;

import cc.lucien.entity.Goods;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsRepository {

    List<Goods> findAll();

    Goods findById(Integer id);

    int save(Goods goods);

    int update(Goods goods);

    int deleteById(Integer id);
}
